<!DOCTYPE html>
<html>
    <head>
        <?php include 'include/head.php';?>
        <script>
            $(document).ready(function() {
                $("#GalleryMenu").hover(function(){
                    $(".hiddenMenu").slideDown();
                }, function() {
                    $(".hiddenMenu").hide();
                });
            });
        </script>
        <link rel="stylesheet" type="text/css" href="js/AD_gallery/jquery.ad-gallery.css">
        <script type="text/javascript" src="js/AD_gallery/jquery.ad-gallery.js"></script>
        <script type="text/javascript">
        $(function() {
            var galleries = $('.ad-gallery').adGallery({enable_keyboard_move: true, cycle: true,effect:'fade'});
        });
        </script>
        <title>ABOUT ME</title>
    </head>
    <body>
        <div id="generale">
            
            <div id="gallery" class="ad-gallery">
                
                <div class="ad-nav">
                    <div class="ad-thumbs">
                        <ul class="ad-thumb-list">
                            <?php
                            $gallery = "guzzi";
                            if (isset($_GET['gal']))
                                $gallery=$_GET['gal'];
                            $dir="gallery/".$gallery;
                            foreach (glob($dir."/*.*") as $filename) {
                                ?>
                                <li>
                                    
                                    <a href="<?php echo $filename ?>">
                                        <img src="<?php echo ($dir."/thumb".substr($filename, strrpos($filename,"/"))) ?>" class="image0" >
    <!--                                    <img src="gallery/icolorideltempo/22_thumb.png" title="A title for 12.jpg" alt="This is a nice, and incredibly descriptive, description of the image 12.jpg" class="image0">-->
                                    </a>
                                </li> 
                            <?php } ?>
                        </ul>
                    </div>
                    
                </div>
                
                
                <div class="menu-container">
                    <a href="index.php">HOME</a> | 
                    <a id="GalleryMenu" href="#">ALTRE GALLERY
                        <ul class="hiddenMenu">
                             <li><a href="gallery.php?gal=guzzi">Guzzi</a></li>
                             <li><a href="gallery.php?gal=lampi">Lampi di luce</a></li>
                             <li><a href="gallery.php?gal=fuoridalcomune">Fuori dal Comune</a></li>
                             <li><a href="gallery.php?gal=icolorideltempo">I colori del tempo</a></li>
                             <li><a href="gallery.php?gal=immaginidinsieme">Immagini d'insieme</a></li>
                        </ul>
                    </a>
                </div>
                <div class="ad-image-wrapper">
                </div>
                <div class="ad-controls">
                </div>
                
                
                
                
            </div>
            
            
            
            
        </div> 
         <?php include 'include/footer.php';?>
    </body>
</html>
